<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 300px;
            height: 200px;
            background-color: royalblue;
            text-align: justify;
            padding: 30px;
            /*
            注意:padding设置负值没有意义
            内边距
            一个值:四个方向一样的距离
            二个值:上下，左右
            三个值:上，左右，下
            四个值:上，右，下，左
            */
        }
    </style>
</head>

<body>
    <div>
        Lorem ipsum, dolor sit amet consectetur adipisicing
        elit. Nam aliquid quam velit temporibus illo veritatis
        aspernatur dolores deleniti quaerat quod explicabo
        expedita perferendis, totam et.
        Corrupti dolor totam est explicabo?
    </div>

</body>

</html>